package com.xxgc.eow.service;

import com.xxgc.eow.entity.Company;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 企业表 服务类
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-05-21
 */
public interface ICompanyService extends IService<Company> {

    int addCompany(Company company);

    List<Company> getAllCompany();

    Company getAllById(int companyId);

    int updatCompany(Company company);

    int delComany(Company company);

    List<Company> getCompany(int pageNum,int pageSize,String keyWord );

   List<Company> getCompany(String keyWord);

}
